/**
 * DiggApiNet - Digg API .NET Wrapper
 * 
 * Author: Sean Hickey
 * Link: http://www.headzoo.com/digg_api_net
 * License: GPL v2 ( http://www.gnu.org/licenses/gpl.txt )
 */
using System;
using System.Collections.Specialized;
using System.Text;
using System.Xml;

namespace DiggApiNet
{
    public class DiggReturnBase : DiggApi
    {
        #region Private Vars
        protected HybridDictionary _dict = new HybridDictionary();
        #endregion

        public DiggReturnBase(XmlNode node)
        {
            _dict.Add(node.Name, node);
            if (node.ChildNodes.Count < 1) {
                return;
            }
            foreach (XmlNode child_node in node.ChildNodes) {
                _dict.Add(child_node.Name, child_node);
            }
        }
    }
}
